# -*- coding: utf-8 -*-
# @Time     : 2017/1/1 17:51
# @Author   : woodenrobot
import time
from scrapy import cmdline

name = 'scholarInfo'
cmd = 'scrapy crawl {0}'.format(name)
# for i in range(1, 62):
#     cmd += " -a data_block=" + str(i)
#     time.sleep(2);
#     cmdline.execute(cmd.split())

i=51
cmd += " -a data_block=" + str(i)
cmdline.execute(cmd.split())
